package 富婆梦.第一阶段.第八周Scoket.作业1;

/**
 * @ProjectName: java-learning
 * @Package: 富婆梦.第一阶段.第八周Scoket.作业1
 * @ClassName: Switch
 * @Author: hemengjin
 * @Description: 开关类
 * @Date:2021/9/24 14:33
 * @Version: 1.0
 */
public class Switch {
    String switchName;
    int switchNumber;

    Switch(){

    }
    public Switch(String switchName, int switchNumber) {
        this.switchName = switchName;
        this.switchNumber = switchNumber;
    }

    public static void main(String[] args) {
        Switch sw = new Switch("A1", 1);
        System.out.println("switchName:" + sw.switchName + "，switchNumber:" + sw.switchNumber);
    }
}
